﻿<%@ Page Language="C#" MasterPageFile="~/Global/Other.Master" AutoEventWireup="true"
    CodeBehind="NewsDetail.aspx.cs" Inherits="TVC_WEB.Global.NewsDetail" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="100%" cellspacing="0" cellpadding="0" border="0">
        <tbody>
            <tr>
                <td class="tabgreen">
                    <div class="bar_boxleft barconten_suppage_width">
                        <div class="bar_boxright barconten_suppage_width">
                            <div class="bartitle bartitleblack">
                                <h1>
                                    <asp:Label ID="lbCategoryNew" runat="server" Text="Label"></asp:Label></h1>
                            </div>
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="contentbdr_1 setpadding8px">
                    <!--Content News-->
                    <asp:DataList ID="listdetailnew" runat="server" RepeatColumns="1" Width="98%" CellSpacing="0">
                        <ItemTemplate>
                            <table width="100%" cellspacing="0" cellpadding="0" border="0">
                                <tbody>
                                    <tr>
                                        <td>
                                            <div>
                                                <!--Content News-->
                                                <div>
                                                    <div>
                                                        <h2>
                                                            <%# Eval("TitleVN")%></a>
                                                        </h2>
                                                        <%# Formatdatepost(Eval("CreateDay").ToString(), Eval("IDNewsCategory").ToString()).ToString()%><br>
                                                        <div style="font-weight: bold;">
                                                            <div>
                                                                <%# Eval("ShortDecribesVN").ToString()%>
                                                            </div>
                                                        </div>
                                                        <br>
                                                        <div>
                                                            <%# Eval("LongDecribesVN").ToString()%>
                                                        </div>
                                                    </div>
                                                    <div style="float: right">
                                                        Nguồn :
                                                        <%# Eval("Source").ToString()%>
                                                    </div>
                                                </div>
                                                <!--End News-->
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </ItemTemplate>
                    </asp:DataList>
                    <!--End News-->
                </td>
            </tr>
            <tr>
                <td style="background: none repeat scroll 0 0 #F1F1F1;">
                    <div style="padding-left: 20px; padding-top: 20px">
                        <div class="bar_boxleft barconten_suppage_width" style="float: left">
                            <div class="bar_boxright barconten_suppage_width">
                                <div style="font-weight: bold; padding-bottom: 5px">
                                    Các tin khác
                                </div>
                            </div>
                        </div>
                        <div>
                            <ul type="circle">
                                <asp:DataList ID="listListNews" runat="server" RepeatColumns="1" Width="98%" CellSpacing="0"
                                    RepeatLayout="Flow">
                                    <ItemTemplate>
                                        <li><b>&nbsp;•&nbsp;&nbsp;</b><a onclick="" href="NewsDetail.aspx?newid=<%# Eval("ID").ToString()%>">
                                            <b><%# Eval("TitleVN").ToString()%></b></a>&nbsp; 
                                            <%# Formatdatepost(Eval("CreateDay").ToString(), Eval("IDNewsCategory").ToString()).ToString()%></li>
                                    </ItemTemplate>
                                </asp:DataList>
                            </ul>
                        </div>
                    </div>
                </td>
            </tr>
        </tbody>
    </table>
</asp:Content>
